
#ifndef __PHOTO_BACKLIGHT_SETTING_H__
#define __PHOTO_BACKLIGHT_SETTING_H__
#include "mzfclib.h"
#include "CheckButton.h"
#include "BottomBar.h"
class CPhotoBacklightSettingDlg : public CMzWndEx
{
	MZ_DECLARE_DYNAMIC(CPhotoBacklightSettingDlg);
public:
	CPhotoBacklightSettingDlg( HINSTANCE hInst, int backlightTime );
	virtual ~CPhotoBacklightSettingDlg();
	virtual void PaintWin(HDC hdc, RECT* prcUpdate /* = NULL */);
	void RedrawWindow();
	CMzString GetSelectTime();
	int GetBacklightTime()
	{
		return m_selectTime;
	}
protected:
	virtual BOOL OnInitDialog();
	virtual void OnMzCommand(WPARAM wParam, LPARAM lParam);
	virtual LRESULT MzDefWndProc(UINT message, WPARAM wParam, LPARAM lParam);
private:
	void _SetSelectedTime();
	int _AccMessage( WPARAM wParam );
	void _SendScreenRotateMsg( int screenStatus );
	HINSTANCE m_hInst;
	CheckButton m_check10;
	CheckButton m_check20;
	CheckButton m_check30;
	CheckButton m_check40;
	CheckButton m_check50;
	CheckButton m_check60;
	UiScrollWin m_scroll;
	UiButton_Image m_returnBtn;
	UiToolbar_Text m_toolBar;
	int m_selectTime;
	ImagingHelper m_downImage;
	BOOL m_bChangeDisplay;
};

#endif
